package com.originskyseed.platform.course.model;

import java.math.BigDecimal;
import java.util.Date;

import com.originskyseed.platform.core.base.BaseModel;

/**
 * 课程学习记录表（OSI_COURSE_STUDY_RECORD）
 * 
 * @author Tangwanghui
 */
public class CourseStudyRecord extends BaseModel {

	/**
	 * 课程id（COURSE_ID）
	 */
	private String courseId;

	/**
	 * 任务id（TASK_ID）
	 */
	private String taskId;

	/**
	 * 学习人id（CREATOR_ID）
	 */
	private String creatorId;

	/**
	 * 学习人名称（CREATOR）
	 */
	private String creator;

	/**
	 * 类型 1未完成 2已完成（STATUS）
	 */
	private Integer status;

	/**
	 * 已学习时长（LEARNED_DURATION）
	 */
	private BigDecimal learnedDuration;

	/**
	 * 总时长（TOTAL_DURATION）
	 */
	private BigDecimal totalDuration;

	//////////// 额外字段
	/**
	 * 观看时长
	 */
	private BigDecimal duration;

	/**
	 * 是否完成
	 */
	private Integer isComplete;

	/**
	 * 课程名字
	 */
	private String name;

	/**
	 * 学习人名称
	 */
	private String studyName;

	/**
	 * 得分
	 */
	private BigDecimal score;

	/**
	 * 上周营收
	 */
	private BigDecimal lastWeekRevenue;

	/**
	 * 本周营收
	 */
	private BigDecimal weekRevenue;

	/**
	 * 完成时间（FINISH_TIME）
	 */
	private Date finishTime;

	/**
	 * 获取课程id
	 *
	 * @return
	 */
	public String getCourseId() {
		return this.courseId;
	}

	/**
	 * 设置课程id
	 *
	 * @param courseId
	 */
	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	/**
	 * 获取任务id
	 *
	 * @return
	 */
	public String getTaskId() {
		return this.taskId;
	}

	/**
	 * 设置任务id
	 *
	 * @param taskId
	 */
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	/**
	 * 获取学习人id
	 *
	 * @return
	 */
	public String getCreatorId() {
		return this.creatorId;
	}

	/**
	 * 设置学习人id
	 *
	 * @param creatorId
	 */
	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	/**
	 * 获取学习人名称
	 *
	 * @return
	 */
	public String getCreator() {
		return this.creator;
	}

	/**
	 * 设置学习人名称
	 *
	 * @param creator
	 */
	public void setCreator(String creator) {
		this.creator = creator;
	}

	/**
	 * 获取类型 1未完成 2已完成
	 *
	 * @return
	 */
	public Integer getStatus() {
		return this.status;
	}

	/**
	 * 设置类型 1未完成 2已完成
	 *
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取已学习时长
	 *
	 * @return
	 */
	public BigDecimal getLearnedDuration() {
		return this.learnedDuration;
	}

	/**
	 * 设置已学习时长
	 *
	 * @param learnedDuration
	 */
	public void setLearnedDuration(BigDecimal learnedDuration) {
		this.learnedDuration = learnedDuration;
	}

	/**
	 * 获取总时长
	 *
	 * @return
	 */
	public BigDecimal getTotalDuration() {
		return this.totalDuration;
	}

	/**
	 * 设置总时长
	 *
	 * @param totalDuration
	 */
	public void setTotalDuration(BigDecimal totalDuration) {
		this.totalDuration = totalDuration;
	}

	public BigDecimal getDuration() {
		return duration;
	}

	public void setDuration(BigDecimal duration) {
		this.duration = duration;
	}

	public Integer getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStudyName() {
		return studyName;
	}

	public void setStudyName(String studyName) {
		this.studyName = studyName;
	}

	public BigDecimal getScore() {
		return score;
	}

	public void setScore(BigDecimal score) {
		this.score = score;
	}

	public BigDecimal getLastWeekRevenue() {
		return lastWeekRevenue;
	}

	public void setLastWeekRevenue(BigDecimal lastWeekRevenue) {
		this.lastWeekRevenue = lastWeekRevenue;
	}

	public BigDecimal getWeekRevenue() {
		return weekRevenue;
	}

	public void setWeekRevenue(BigDecimal weekRevenue) {
		this.weekRevenue = weekRevenue;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
}